<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 编写一个函数，计算三个数字的大小，按从小到大顺序输出
        function demo(num1,num2,num3){
            Math.pow()
            var max=Math.max(num1,num2,num3);
            console.log(max);
            var min=Math.min(num1,num2,num3);
            console.log(min);
        }
        demo(1,22,-3);
    </script>
</body>
</html>